<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>查询结果</title>
<link href="css/table.css" rel="stylesheet" type="text/css">
<link href="css/button.css" rel="stylesheet" type="text/css">
</head>
<body>

<table class="altrowstable" id="alternatecolor" style="margin:auto">
<caption>工资表</caption>
	<tr>
		<th>月份</th>
		<th>部门</th>
		<th>姓名</th>
		<th>本月应出勤天数</th>
		<th>实际出勤</th>
		<th>基本工资</th>
		<th>岗位津贴</th>
		<th>午餐补贴</th>
		<th>加班工资</th>
		<th>全勤工资</th>
		<th>扣社保</th>
		<th>扣公积金</th>
		<th>扣税</th>
		<th>迟到、请假等扣</th>
		<th>实发</th>
	</tr>
	<c:forEach items="${list}" var="salary">
		<tr>
			<td>${salary.month}</td>
			<td>${salary.departmentName}</td>
			<td>${salary.name}</td>
			<td>${salary.should}</td>
			<td>${salary.reality}</td>
			<td>${salary.baseWage}</td>
			<td>${salary.allowance}</td>
			<td>${salary.lunch}</td>
			<td>${salary.overtimeWage}</td>
			<td>${salary.fullWage}</td>
			<td>${salary.socialPay}</td>
			<td>${salary.housePay}</td>
			<td>${salary.taxPay}</td>
			<td>${salary.otherPay}</td>
			<td>${salary.finalPay}</td>
		</tr>
	</c:forEach>
</table>
</body>
</html>